Related Vulnerabilities: CVE-2021-22924  

A security issue has been found in curl before version 7.78.0. libcurl keeps previously used connections in a connection pool for subsequent transfers to reuse, if one of them matches the setup. Due to errors in the logic, the config matching function did not take 'issuer cert' into account and it compared the involved paths case insensitively, which could lead to libcurl reusing wrong connections. File paths are, or can be, case sensitive on many systems but not all, and can even vary depending on used file systems. The comparison also didn't include the 'issuer cert' which a transfer can set to qualify how to verify the server certificate.

Severity Medium

Remote Yes

Type Insufficient validation

Description

A security issue has been found in curl before version 7.78.0. libcurl keeps previously used connections in a connection pool for subsequent transfers to reuse, if one of them matches the setup. Due to errors in the logic, the config matching function did not take 'issuer cert' into account and it compared the involved paths case insensitively, which could lead to libcurl reusing wrong connections. File paths are, or can be, case sensitive on many systems but not all, and can even vary depending on used file systems. The comparison also didn't include the 'issuer cert' which a transfer can set to qualify how to verify the server certificate.

AVG-2199 lib32-libcurl-gnutls 7.77.0-1 7.78.0-1 Medium Testing

AVG-2198 libcurl-gnutls 7.77.0-1 7.78.0-1 Medium Testing

AVG-2197 lib32-libcurl-compat 7.77.0-1 7.78.0-1 Medium Testing

AVG-2196 libcurl-compat 7.77.0-1 7.78.0-1 Medium Testing

AVG-2195 lib32-curl 7.77.0-1 7.78.0-1 Medium Testing

AVG-2194 curl 7.77.0-1 7.78.0-1 Medium Testing

https://curl.se/docs/CVE-2021-22924.html
https://github.com/curl/curl/commit/5ea3145850ebff1dc2b13d17440300a01ca38161